﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BusinessPlatform.Test.Binding
{
    public partial class SalesOrderListBindingTest : Form
    {
        public SalesOrderListBindingTest()
        {
            InitializeComponent();
        }
        public void BindUI(IList<SalesOrder.ISalesOrder> orderlist)
        {
            bindingSource1.DataSource = orderlist;
        }
        private void SalesOrderListBindingTest_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }
    }
}
